<template>
	<view class="box">
		<!-- <view class="edit">编辑资料</view> -->
		<view class="layout">
			<view class="img">
				<image :src="mixiImgUrl + '/static/11.png'" mode="widthFix"></image>
				<view class="mask flex-center">
					<view class="flex-center">
						<image :src="mixiImgUrl + '/static/照片.png'" mode=""></image>
						上传图片
					</view>
				</view>
			</view>
			
			<view class="layout-tx">
				<input type="text" placeholder="祠堂图片介绍文字" placeholder-class="layout-tx-ac"/>
			</view>
		</view>
		<view class="grid">
			<view class="layout">
				<image :src="mixiImgUrl + '/static/12.png'" mode="widthFix"></image>
				<view class="layout-tx">
					<input type="text" placeholder="祠堂图片介绍文字" placeholder-class="layout-tx-ac"/>
				</view>
			</view>
			<view class="layout">
				<image :src="mixiImgUrl + '/static/12.png'" mode="widthFix"></image>
				<view class="layout-tx">
					<input type="text" placeholder="祠堂图片介绍文字" placeholder-class="layout-tx-ac"/>
				</view>
			</view>
		</view>
		<view class="btn flex-center">提交修改</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
	page {
		background: #F6F1E7;
	}
	.box {
		padding: 30rpx 0;
	}
	.edit {
		font-family: Source Han Sans CN;
		font-weight: 500;
		font-size: 28rpx;
		color: #84643B;
		box-sizing: border-box;
		padding-right: 26rpx;
		text-align: right;
	}
	.layout {
		width: 100%;
		margin-bottom: 40rpx;
		.img {
			width: 100%;
			position: relative;
			image {
				width: 100%;
			}
			.mask {
				width: 100%;
				height: 100%;
				position: absolute;
				left: 0;
				top: 0;
				z-index: 2;
				background: rgba(0, 0, 0, 0.5);
				image {
					width: 37rpx;
					height: 32rpx;
					margin-right: 17rpx;
				}
				font-family: Source Han Sans CN;
				font-weight: 500;
				font-size: 30rpx;
				color: #FFFFFF;
			}
		}
		.layout-tx {
			font-family: Source Han Sans CN;
			font-weight: 500;
			font-size: 30rpx;
			color: #333333;
			text-align: center;
			input {
				width: 291rpx;
				height: 51rpx;
				border: 1px solid #999999;
				margin: 0 auto;
				margin-top: 20rpx;
			}
		}
	}
	.grid {
		width: 100%;
		display: grid;
		grid-template-columns: repeat(2,1fr);
		grid-gap: 22rpx;
		box-sizing: border-box;
		padding: 0 30rpx;
	}
	.btn {
		width: 580rpx;
		height: 99rpx;
		background: #84643B;
		border-radius: 50rpx;
		margin: 0 auto;
		font-family: Source Han Sans CN;
		font-weight: 500;
		font-size: 32rpx;
		color: #FFFFFF;
		margin-top: 100rpx;
	}
</style>
